<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>行程顾问管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
			return false;
		}
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li ><a href="${ctx}/trip/tTrip/">行程顾问列表</a></li>
		<li class="active"><a href="javascript:">查看</a></li>
	</ul>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
	<c:if test="${tripCounselorInfo.setmeal == '0'}">
		<thead>
			<tr>
				<th>天数</th>
				<th>到达城市</th>
				<th>出行时间</th>
				<th>人数</th>
				<th>必玩景点</th>
				<th>游玩主题</th>
				<th>金额</th>
				<th>联系人</th>
				<th>联系电话</th>
			</tr>
		</thead>
			<tr>
				<td>${tripCounselorInfo.departCity}</td>
				<td>${tripCounselorInfo.countDestination} </td>
				<td><fmt:formatDate value="${tripCounselorInfo.departTime}" pattern="yyyy-MM-dd" />~<fmt:formatDate value="${tripCounselorInfo.overTime}" pattern="yyyy-MM-dd" /><BR>共计${tripCounselorInfo.countDay}天</td>
				<td>${tripCounselorInfo.person }成人  ${tripCounselorInfo.child }儿童<BR>共计${tripCounselorInfo.countPerson}人</td>
				<td>${tripCounselorInfo.countScenery}</td>
				<td>${tripCounselorInfo.theme}</td>
				<td>${tripCounselorInfo.price}</td>
				<td>${tripCounselorInfo.linkMan}</td>
				<td>${tripCounselorInfo.phone}</td>
			</tr>
			</c:if>
			
			<c:if test="${tripCounselorInfo.setmeal == '1'}">
		<thead>
			<tr>
				<th>出发城市</th>
				<th>到达城市</th>
				<th>出行时间</th>
				<th>人数</th>
				<th>必玩景点</th>
				<th>游玩主题</th>
				<th>代订住宿</th>
				<th>代订交通</th>
				<th>代订门票/游玩项目 </th>
				<th>金额</th>
				<th>联系人</th>
				<th>联系电话</th>
			</tr>
		</thead>
			<tr>
				<td>${tripCounselorInfo.departCity}</td>
				<td>${tripCounselorInfo.countDestination} </td>
				<td><fmt:formatDate value="${tripCounselorInfo.departTime}" pattern="yyyy-MM-dd" />~<fmt:formatDate value="${tripCounselorInfo.overTime}" pattern="yyyy-MM-dd" /><BR>共计${tripCounselorInfo.countDay}天</td>
				<td>${tripCounselorInfo.person }成人  ${tripCounselorInfo.child }儿童<BR>共计${tripCounselorInfo.countPerson}天</td>
				<td>${tripCounselorInfo.countScenery}</td>
				<td>${tripCounselorInfo.theme}</td>
				
				<td>预算：${tripCounselorInfo.lodgeBudget}<BR>标准：${tripCounselorInfo.stay}</td>
				<td>${tripCounselorInfo.traffic}</td>
				<td>${tripCounselorInfo.ticket == '0' ?'否':'是'}</td>
				
				<td>${tripCounselorInfo.price}</td>
				<td>${tripCounselorInfo.linkMan}</td>
				<td>${tripCounselorInfo.phone}</td>
			</tr>
			</c:if>
	</table>
	
</body>
</html>